[paket]
tanim   = GSettings masaüstü şemaları
paketci = Cihan_Alkan
grup 	= deepin
url     = https://github.com/linuxdeepin/deepin-desktop-schemas

[gerek]
derleme =  golang-deepin-lib
calisma =  

[kaynak]
1     = https://github.com/linuxdeepin/deepin-desktop-schemas/archive/$surum.tar.gz::$isim-$surum.tar.gz

[sha1]
#1 		= SKIP

[derle]
betik = export GOPATH="$SRC/build:/usr/share/gocode"
betik =  sed -i "s#/usr/share/backgrounds/default_background.jpg#/usr/share/backgrounds/aylinux/arkaplan.png#" overrides/common/com.deepin.wrap.gnome.desktop.override schemas/com.deepin.dde.appearance.gschema.xml
  # fix network checker url
betik =  sed -i "s#'https://www.chinauos.com', 'https://www.uniontech.com'#'https://archlinux.org/favicon.ico'#" schemas/com.deepin.dde.network-utils.gschema.xml
  # fix for deepin-wm (their documentation is lying here)
betik =  sed -i "s|<default>''</default>|<default>'deepin-wm'</default>|" schemas/com.deepin.dde.startdde.gschema.xml
betik = export CGO_CPPFLAGS="${CPPFLAGS}"
betik = export CGO_CFLAGS="${CFLAGS}"
betik = export CGO_CXXFLAGS="${CXXFLAGS}"
betik = export CGO_LDFLAGS="${LDFLAGS}"
betik = export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
#betik = cd deepin-desktop-schemas-$pkgver
betik = make ARCH=x86

[pakur]
betik =  make DESTDIR="$PKG" install
